]> dgit.raspbian.org Git - gnome-shell.git/commit
tray: Use one-shot idle/timeout functions
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 31 Oct 2025 17:13:32 +0000 (18:13 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 29 Jan 2026 15:16:05 +0000 (15:16 +0000)
commitcc1e00e8783beb443d50a5db1d59f5232604e2f5
treec74d34d37ca78670e2fb43b4383ccb19f37eb3bf
parent6f52b3a7b1740ad26eba616d8fa88c82441fabca
tray: Use one-shot idle/timeout functions

GLib added one-shot variants of the idle/timeout functions a while ago.

While they don't save a lot of code, they serve as a clear marker that
the callback is only invoked once.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3947>
src/tray/na-xembed.c